package org.senzacontrollo.designPatterns.abstractFactory;

public class CDPlayer implements Player{
	
	CD cdInside;

	public void accept(Media media) {
		cdInside = (CD) media;
	}

	public void player() {
		System.out.println("Play on CD "+cdInside.readDisk());
	}

}
